package com.yangoxix.lovegoing_admin.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yangoxix.common.utils.PageUtils;
import com.yangoxix.common.utils.Query;

import com.yangoxix.lovegoing_admin.dao.UseractivityDao;
import com.yangoxix.lovegoing_admin.entity.UseractivityEntity;
import com.yangoxix.lovegoing_admin.service.UseractivityService;


@Service("useractivityService")
public class UseractivityServiceImpl extends ServiceImpl<UseractivityDao, UseractivityEntity> implements UseractivityService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<UseractivityEntity> page = this.page(
                new Query<UseractivityEntity>().getPage(params),
                new QueryWrapper<UseractivityEntity>()
        );

        return new PageUtils(page);
    }

}
